package com.bw.z.mvp.di;

import com.bw.z.mvp.contract.InformationContract;
import com.bw.z.mvp.model.InformationModel;

import dagger.Module;
import dagger.Provides;

@Module
public class InformationModules {
    private InformationContract.informationView view;

    public InformationModules(InformationContract.informationView view) {
        this.view = view;
    }

    @Provides
    public InformationContract.informationView provideView() {
        return view;
    }

    @Provides
    public InformationContract.informationModel provideModel(InformationModel model) {
        return model;
    }
}
